package org.cangku.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Staff {

  private long yId;
  private String yName;
  private String ySex;
 /* @JsonFormat(pattern = "yyyy-MM-dd")
  @DateTimeFormat(pattern="yyyy-MM-dd")*/
 @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
  private Date yDate;
  private long yAffiliated;
  private String yPhone;
  private String yAddress;
  private String yEmail;
  private String shopName;
  private long shopid;

  public long getShopid() {
    return shopid;
  }

  public void setShopid(long shopid) {
    this.shopid = shopid;
  }

  public String getShopName() {
    return shopName;
  }

  public void setShopName(String shopName) {
    this.shopName = shopName;
  }

  public long getyId() {
    return yId;
  }

  public void setyId(long yId) {
    this.yId = yId;
  }

  public String getyName() {
    return yName;
  }

  public void setyName(String yName) {
    this.yName = yName;
  }

  public String getySex() {
    return ySex;
  }

  public void setySex(String ySex) {
    this.ySex = ySex;
  }

  public Date getyDate() {
    return yDate;
  }

  public void setyDate(Date yDate) {
    this.yDate = yDate;
  }

  public long getyAffiliated() {
    return yAffiliated;
  }

  public void setyAffiliated(long yAffiliated) {
    this.yAffiliated = yAffiliated;
  }

  public String getyPhone() {
    return yPhone;
  }

  public void setyPhone(String yPhone) {
    this.yPhone = yPhone;
  }

  public String getyAddress() {
    return yAddress;
  }

  public void setyAddress(String yAddress) {
    this.yAddress = yAddress;
  }

  public String getyEmail() {
    return yEmail;
  }

  public void setyEmail(String yEmail) {
    this.yEmail = yEmail;
  }
}
